Skip to content

Add CI build, tests, and security scanning - #4

Merged
jasonpatrickellykrause merged 2 commits into
mainfrom
ci/build-and-security-scanning
Nov 16, 2026
Merged

jasonpatrickellykrause merged 2 commits into
mainfrom
ci/build-and-security-scanning

Conversation

@jasonpatrickellykrause

Copy link
Copy Markdown
Collaborator

DeezNET had no CI, so Dependabot pull requests were never built or tested, and the NuGet audit settings only took effect in local builds.

Changes

  • Build (build.yml): restores, builds the solution in Release, and runs the tests on pull requests and pushes to main. Restore fails on high or critical advisories through the existing NuGetAudit settings; a final step lists lower-severity ones. Uses the same pinned SDK as Lidarr.Plugin.Deezer.
  • CodeQL (codeql.yml): scans the C# code with security-extended and scans the workflows themselves, on every pull request, on pushes to main, and weekly.
  • Dependency review: fails a pull request that adds a dependency with a high or critical advisory.
  • Dependabot: also updates the SHA-pinned GitHub Actions, and groups test package updates into one pull request.
  • Tests that call Deezer (UnshortenURLTest, GetAssociatedTracksTest) are tagged Live and skipped in CI. The unshorten tests likely fail anyway, since deezer.page.link was hosted on Firebase Dynamic Links, which shut down in 2025.

Action versions and settings match Lidarr.Plugin.Deezer's workflows.

🤖 Generated with Claude Code

- Build workflow restores, builds, and runs tests on pull requests and
  pushes to main. NuGetAudit already fails restore on high or critical
  advisories; a final step lists lower-severity ones.
- CodeQL scans the C# code (security-extended) and the workflows.
- Dependency review fails pull requests that add a dependency with a
  high or critical advisory.
- Dependabot also updates pinned GitHub Actions and groups test
  package updates.
- Tests that call Deezer are tagged Live and skipped in CI.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The SDK pin step's plain scalar contained ": ", which YAML parses as a
mapping, so GitHub rejected the whole workflow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jasonpatrickellykrause
jasonpatrickellykrause merged commit b6e5f3e into main Nov 16, 2026
5 checks passed
@jasonpatrickellykrause
jasonpatrickellykrause deleted the ci/build-and-security-scanning branch November 16, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant